// 指针的运算;
#include <stdio.h>
#include <stddef.h>

int main()
{
    // 开启指针的运算;
    char string[] = "指针的运算";
    // %s 用来打印字符串;
    printf("我打印的字符串是：%s\n", string);

    short *j;
    j = (short *)0x1234;
    j = j + 1; // 0x1236
    printf("%d\n", j);
    // 指针与指针的减法；
    short *j1;
    short *j2;
    j1 = (short *)0x1234;
    j2 = (short *)0x1236;
    ptrdiff_t dist = j2 - j1;
    printf("%td\n", dist);
    return 0;
}